//
//  ICMProgressHeaderView.h
//  ICrEAM
//
//  Created by rainimute on 16/10/28.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol ICMProgressHeaderViewDelegate <NSObject>

@optional
- (void)progressHeaderViewDidSelectedIndex:(NSInteger)index;

@end

@interface ICMProgressHeaderView : UIView

@property (nonatomic, weak) id<ICMProgressHeaderViewDelegate>delegate;

- (instancetype)initProgressHeaderViewWithStateDic:(NSDictionary*)stateDic andFrame:(CGRect)frame;
+ (instancetype)createProgressHeaderViewWithStateDic:(NSDictionary*)stateDic andFrame:(CGRect)frame;

@end
